﻿using Enums;

namespace Model.Response.Base
{
    /// <summary>
    /// 响应基类
    /// </summary>
    public class BaseResponse<T>
    {
        /// <summary>
        /// 报文反馈码
        /// </summary>
        public string Code { get; set; } = SystemCode.SYSTEM_ERROR;

        /// <summary>
        /// 报文返回信息
        /// </summary>
        public string? Msg { get; set; } 

        /// <summary>
        /// 返回报文内容
        /// </summary>
        public T? Body { get; set; }
    }
}
